home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: news.sprintlink.net!news1!ts00-and-30
- From: dlmiller@iquest.net (Doug & Rose Miller)
- Subject: Re: Newbie question: byte order
- X-Nntp-Posting-Host: ts00-and-30.iquest.net
- Message-ID: <DnxGu6.4wp@iquest.net>
- Sender: news@iquest.net (News Admin)
- Organization: IQuest Network Services
- X-Newsreader: News Xpress Version 1.0 Beta #2.1
- References: <4hdhjl$m22@nnrp1.news.primenet.com>
- Date: Fri, 8 Mar 1996 02:38:18 GMT
-
- dineh@primenet.com (Dineh Alliance) wrote:
- +I have found Turbo C++ a good package for developing data conversion routines,
- +but recently I encountered a data concept not covered in their online
- +documentation (or at least I can't find it):
- +
- +byte order (i.e. "bigendian" vs. "littleendian").
- +
- +What is it? Are there any good books or Web/Gopher resources that discuss it?
- +
- +Thanks in advance for your help!
- +
- +Mark Cederholm
- Simply refers to the order in which the most and least significant bytes of a word are actually (physically)
- stored in memory. For example, given an int with the value 0x1234, this is physically stored as
- 3412 on PC and VAX platforms (among others), and as 1234 on IBM mainframe and Tandem platforms
- (among others). "Bigendian" (big end first) is the latter, and "littleendian" (little end first) is the former.
-
-